package bankingSystemServer;

import java.io.Serializable;

public class AccountInfo implements Serializable {
	private static final long serialVersionUID = -4632317510884236405L;
	private String accountNumber;
	private int balance;
	private String customerName;

	public AccountInfo(String accountNumber, int balance, String customerName) {
		this.accountNumber = accountNumber;
		this.balance = balance;
		this.customerName = customerName;
	}

	public String getAccountNumber() {
		return accountNumber;
	}

	public int getBalance() {
		return balance;
	}

	public String getCustomerName() {
		return customerName;
	}
	
	public String toString() {
		return accountNumber;
	}

}
